Carbon


GDeviceChanged

Header: QDOffscreen.h Carbon status: Supported

Notifies QuickDraw that the content of a GDevice structure has been modified.

void GDeviceChanged (
    GDHandle gdh
);
DISCUSSION

If your application changes the pmTable field of the PixMap structure specified in a GDevice structure, call GDeviceChanged. If your application changes the content of the ColorTable structure referenced by the PixMap structure, call both GDeviceChanged and CTabChanged.

Your application should never need to directly modify a GDevice structure and use the GDeviceChanged function; instead, your application should use the QuickDraw functions described in this book for manipulating the values in a GDevice structure.

SPECIAL CONSIDERATIONS

The GDeviceChanged function may move or purge memory in the application heap; do not call the GDeviceChanged function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)